<template>
	<view class="myLogContainer">
		<commonBox :imgUrl="item.imgUrl" :userAvatar="item.userAvatar" :content="item.content" :headerShow="true" v-for="(item,index) in logData"></commonBox>
		<u-gap height="2" bg-color="#bbb"></u-gap>
	</view>
</template>

<script>
	import commonBox from "../../../components/commonLogBox"
	export default {
		components: {
			commonBox
		},
		data() {
			return {
				logData: [{
						userAvatar: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
						content: '看书是我的最爱，它增长了我的知识，开阔了我的视野，使我懂得了更多的道理。有一次老师布置了一篇写含羞草的作文，由于我平时看书对含羞...查看全部',
						imgUrl: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
					},
					{
						userAvatar: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
						content: '看书是我的最爱，它增长了我的知识，开阔了我的视野，使我懂得了更多的道理。有一次老师布置了一篇写含羞草的作文，由于我平时看书对含羞...查看全部',
						imgUrl: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
					},
					{
						userAvatar: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
						content: '看书是我的最爱，它增长了我的知识，开阔了我的视野，使我懂得了更多的道理。有一次老师布置了一篇写含羞草的作文，由于我平时看书对含羞...查看全部',
						imgUrl: "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201206%2F16%2F20120616174342_ycsye.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629033721&t=8d89e4d09b79340b58bede7fc0e96449",
					},
				]
			};
		}
	}
</script>

<style lang="scss" scoped>
	.myLogContainer {
		padding: 20rpx 34rpx;
	}
</style>
